﻿
chinese_manchu_queue_hairstyle_character_trigger = { # hairsyle for Manchu characters not living living under discriminatory Han rule, and Han characters living under discriminatory Manchu rule
	exists = scope:character
	scope:character = {
		OR = {
		AND = {
					owner = { 
					NOT = { is_subject_type = subject_type_tributary }		
	exists = overlord
	overlord = {
	exists = c:MCH
	this = c:MCH
						ruler = { 
						has_culture = cu:manchu 
					}
					NOT = { 
						has_law = law_type:law_multicultural
					}
	}
	}
					culture = { 
					has_discrimination_trait = han_chinese 
				}
	}
			AND = {
				owner = { 
					ruler = { 
						has_culture = cu:manchu 
					}
					NOT = { 
						has_law = law_type:law_multicultural
					}
				}
				culture = { 
					has_discrimination_trait = han_chinese 
				}
			}
			AND = {
				NOT = {
					owner = { 
						ruler = { 
							culture = { 
								has_discrimination_trait = han_chinese 
							}
						}
						cu:manchu = {
							NOT = { 
								culture_is_discriminated_in = scope:character.owner 
							}
						}
					}
				}
				culture = cu:manchu
			}
		}
	}
}

chinese_manchu_queue_hairstyle_pops_trigger = { # hairsyle for Manchu pops not living living under discriminatory Han rule, and Han pops living under discriminatory Manchu rule
	exists = scope:pop
	scope:pop = {
		OR = {
				AND = {
					owner = { 
					NOT = { is_subject_type = subject_type_tributary }		
	exists = overlord
	overlord = {
	exists = c:MCH
	this = c:MCH
						ruler = { 
						has_culture = cu:manchu 
					}
					NOT = { 
						has_law = law_type:law_multicultural
					}
	}
	}
					culture = { 
					has_discrimination_trait = han_chinese 
				}
	}
			AND = {
				owner = { 
					ruler = { 
						has_culture = cu:manchu 
					}
					NOT = { 
						has_law = law_type:law_multicultural
					}
				}
				culture = { 
					has_discrimination_trait = han_chinese 
				}
			}
			AND = {
				NOT = {
					owner = { 
						ruler = { 
							culture = { 
								has_discrimination_trait = han_chinese 
							}
						}
						cu:manchu = {
							NOT = { 
								culture_is_discriminated_in = scope:pop.owner 
							}
						}
					}
				}
				culture = cu:manchu
			}
		}
	}
}
id_han_imperial_clothes_trigger = {
	exists = scope:character
	scope:character = {
		is_ruler = yes
		OR = {
			AND = {
				exists = c:CHI
				OWNER = c:CHI
			}
		}
	}
}
id_mod_han_clothes_pop_trigger = {
	exists = scope:pop
	scope:pop = {
		culture = {
has_discrimination_trait = han_chinese
		}   
	}
}

id_mod_han_clothes_court_trigger = {
	exists = scope:character
	scope:character = {
		culture = {
has_discrimination_trait = han_chinese
		}   
	}
}
id_mod_han_clothes_court_pop_trigger = {
	exists = scope:pop
	scope:pop = {
		culture = {
has_discrimination_trait = han_chinese
		}   
	}
}

chinese_court_clothes_trigger = {
	exists = scope:character
	scope:character = {
id_manchu_qng_imperial_clothes_trigger = no
	
		OR  = {
			owner = {
NOT = { is_subject_type = subject_type_tributary }			
	exists = overlord
	overlord = {
	exists = c:MCH
	this = c:MCH
	}
	}
				owner = { 
		country_has_primary_culture = cu:manchu
		ruler = {
		culture = cu:manchu
		}
	}
		culture = cu:manchu
		}
	}	
}

chinese_court_clothes_pop_trigger = {
	exists = scope:pop
	scope:pop = {
	OR = {
	owner = { 
			any_primary_culture = {
				has_discrimination_trait = id_banner
			}
	}
	owner = { 
	NOT = { is_subject_type = subject_type_tributary }		
	exists = overlord
	overlord = {
	exists = c:MCH
	this = c:MCH
	}
	}
	culture = {
			
				has_discrimination_trait = id_banner
			}
		}
	}	
}

id_manchu_qng_imperial_clothes_trigger = {
	exists = scope:character
	scope:character = {
		is_ruler = yes
		culture = cu:manchu
     	owner = {
     		has_law = law_type:law_monarchy
     	}
	
			AND = {
				exists = c:MCH
				OWNER = c:MCH
			}
		
	}
}



id_han_imperial_clothes_trigger = {
	exists = scope:character
	scope:character = {
		is_ruler = yes
     	owner = {
     		has_law = law_type:law_monarchy
     	}
		OR = {
			AND = {
				exists = c:CHI
				OWNER = c:CHI
			}
		}
	}
}
id_mod_han_clothes_pop_trigger = {
	exists = scope:pop
	scope:pop = {
		culture = {
has_discrimination_trait = han_chinese
		}   
	}
}

id_mod_han_clothes_court_trigger = {
	exists = scope:character
	scope:character = {
		culture = {
has_discrimination_trait = han_chinese
		}   
	}
}
id_mod_han_clothes_court_pop_trigger = {
	exists = scope:pop
	scope:pop = {
		culture = {
has_discrimination_trait = han_chinese
		}   
	}
}